from django.shortcuts import render
from django.views import View


# Create your views here.

class IndexView(View):
    """首页广告"""

    """定义一个和请求当时一直的接口"""

    def get(self, request):

        return render(request, "index.html")